PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Waveform / Spectrum / Jc - Flow with the Go nz+.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=-1.000 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.72142 |
| 42 | sx=1.00000 |
| 43 | sy=0.98030 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=1.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.500 |
| 55 | ib_r=1.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.050 |
| 88 | wave_0_init1=t1 = .2 + .6*int(rand(1001))*.001; |
| 89 | wave_0_init2=t2 = .2 + .6*int(rand(1001))*.001; |
| 90 | wave_0_init3=t3 = .2 + .6*int(rand(1001))*.001; |
| 91 | wave_0_init4=t4 = .2 + .6*int(rand(1001))*.001; |
| 92 | wave_0_init5=t5 = .2 + .6*int(rand(1001))*.001; |
| 93 | wave_0_init6=t6 = .2 + .6*int(rand(1001))*.001; |
| 94 | wave_0_init7=t7 = .2 + .6*int(rand(1001))*.001; |
| 95 | wave_0_init8=t8 = .2 + .6*int(rand(1001))*.001; |
| 96 | wave_0_per_point1=ti = q1; |
| 97 | wave_0_per_point2= |
| 98 | wave_0_per_point3=xa = .25 + .25*sin(ti*t1); |
| 99 | wave_0_per_point4=xb = .25 + .25*sin(ti*t2); |
| 100 | wave_0_per_point5=xc = .25 + .25*sin(ti*t3); |
| 101 | wave_0_per_point6=xd = .25 + .25*sin(ti*t4); |
| 102 | wave_0_per_point7= |
| 103 | wave_0_per_point8=ya = .25 + .25*sin(ti*t5); |
| 104 | wave_0_per_point9=yb = .25 + .25*sin(ti*t6); |
| 105 | wave_0_per_point10=yc = .25 + .25*sin(ti*t7); |
| 106 | wave_0_per_point11=yd = .25 + .25*sin(ti*t8); |
| 107 | wave_0_per_point12= |
| 108 | wave_0_per_point13= |
| 109 | wave_0_per_point14=it = (it + 1)*above(sample,0); |
| 110 | wave_0_per_point15=sw = (1-sw)*above(sample,0); |
| 111 | wave_0_per_point16= |
| 112 | wave_0_per_point17=sa = 1-sample; |
| 113 | wave_0_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 114 | wave_0_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 115 | wave_0_per_point20= |
| 116 | wave_0_per_point21=y = .5 - y*(.5-x)*2; |
| 117 | wave_0_per_point22= |
| 118 | wave_0_per_point23= |
| 119 | wave_0_per_point24=ti = q4; |
| 120 | wave_0_per_point25=r = .5 + .5*sin(ti); |
| 121 | wave_0_per_point26=g = .5 + .5*sin(ti + 2.0944); |
| 122 | wave_0_per_point27=b = .5 + .5*sin(ti + 4.1888); |
| 123 | wave_0_per_point28= |
| 124 | wave_0_per_point29=a = q5; |
| 125 | wavecode_1_enabled=1 |
| 126 | wavecode_1_samples=512 |
| 127 | wavecode_1_sep=0 |
| 128 | wavecode_1_bSpectrum=0 |
| 129 | wavecode_1_bUseDots=0 |
| 130 | wavecode_1_bDrawThick=0 |
| 131 | wavecode_1_bAdditive=1 |
| 132 | wavecode_1_scaling=1.00000 |
| 133 | wavecode_1_smoothing=0.50000 |
| 134 | wavecode_1_r=0.000 |
| 135 | wavecode_1_g=1.000 |
| 136 | wavecode_1_b=0.000 |
| 137 | wavecode_1_a=0.050 |
| 138 | wave_1_init1=t1 = .2 + .6*int(rand(1001))*.001; |
| 139 | wave_1_init2=t2 = .2 + .6*int(rand(1001))*.001; |
| 140 | wave_1_init3=t3 = .2 + .6*int(rand(1001))*.001; |
| 141 | wave_1_init4=t4 = .2 + .6*int(rand(1001))*.001; |
| 142 | wave_1_init5=t5 = .2 + .6*int(rand(1001))*.001; |
| 143 | wave_1_init6=t6 = .2 + .6*int(rand(1001))*.001; |
| 144 | wave_1_init7=t7 = .2 + .6*int(rand(1001))*.001; |
| 145 | wave_1_init8=t8 = .2 + .6*int(rand(1001))*.001; |
| 146 | wave_1_per_point1=ti = q2; |
| 147 | wave_1_per_point2= |
| 148 | wave_1_per_point3=xa = .25 + .25*sin(ti*t1); |
| 149 | wave_1_per_point4=xb = .25 + .25*sin(ti*t2); |
| 150 | wave_1_per_point5=xc = .25 + .25*sin(ti*t3); |
| 151 | wave_1_per_point6=xd = .25 + .25*sin(ti*t4); |
| 152 | wave_1_per_point7= |
| 153 | wave_1_per_point8=ya = .25 + .25*sin(ti*t5); |
| 154 | wave_1_per_point9=yb = .25 + .25*sin(ti*t6); |
| 155 | wave_1_per_point10=yc = .25 + .25*sin(ti*t7); |
| 156 | wave_1_per_point11=yd = .25 + .25*sin(ti*t8); |
| 157 | wave_1_per_point12= |
| 158 | wave_1_per_point13= |
| 159 | wave_1_per_point14=it = (it + 1)*above(sample,0); |
| 160 | wave_1_per_point15=sw = (1-sw)*above(sample,0); |
| 161 | wave_1_per_point16= |
| 162 | wave_1_per_point17=sa = 1-sample; |
| 163 | wave_1_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 164 | wave_1_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 165 | wave_1_per_point20= |
| 166 | wave_1_per_point21=y = .5 - y*(.5-x)*2; |
| 167 | wave_1_per_point22= |
| 168 | wave_1_per_point23=ti = q4 + 2.0944; |
| 169 | wave_1_per_point24=r = .5 + .5*sin(ti); |
| 170 | wave_1_per_point25=g = .5 + .5*sin(ti + 2.0944); |
| 171 | wave_1_per_point26=b = .5 + .5*sin(ti + 4.1888); |
| 172 | wave_1_per_point27= |
| 173 | wave_1_per_point28=a = q6; |
| 174 | wavecode_2_enabled=1 |
| 175 | wavecode_2_samples=512 |
| 176 | wavecode_2_sep=0 |
| 177 | wavecode_2_bSpectrum=0 |
| 178 | wavecode_2_bUseDots=0 |
| 179 | wavecode_2_bDrawThick=0 |
| 180 | wavecode_2_bAdditive=1 |
| 181 | wavecode_2_scaling=1.00000 |
| 182 | wavecode_2_smoothing=0.50000 |
| 183 | wavecode_2_r=1.000 |
| 184 | wavecode_2_g=0.000 |
| 185 | wavecode_2_b=0.000 |
| 186 | wavecode_2_a=0.050 |
| 187 | wave_2_init1=t1 = .2 + .6*int(rand(1001))*.001; |
| 188 | wave_2_init2=t2 = .2 + .6*int(rand(1001))*.001; |
| 189 | wave_2_init3=t3 = .2 + .6*int(rand(1001))*.001; |
| 190 | wave_2_init4=t4 = .2 + .6*int(rand(1001))*.001; |
| 191 | wave_2_init5=t5 = .2 + .6*int(rand(1001))*.001; |
| 192 | wave_2_init6=t6 = .2 + .6*int(rand(1001))*.001; |
| 193 | wave_2_init7=t7 = .2 + .6*int(rand(1001))*.001; |
| 194 | wave_2_init8=t8 = .2 + .6*int(rand(1001))*.001; |
| 195 | wave_2_per_point1=ti = q3; |
| 196 | wave_2_per_point2= |
| 197 | wave_2_per_point3=xa = .25 + .25*sin(ti*t1); |
| 198 | wave_2_per_point4=xb = .25 + .25*sin(ti*t2); |
| 199 | wave_2_per_point5=xc = .25 + .25*sin(ti*t3); |
| 200 | wave_2_per_point6=xd = .25 + .25*sin(ti*t4); |
| 201 | wave_2_per_point7= |
| 202 | wave_2_per_point8=ya = .25 + .25*sin(ti*t5); |
| 203 | wave_2_per_point9=yb = .25 + .25*sin(ti*t6); |
| 204 | wave_2_per_point10=yc = .25 + .25*sin(ti*t7); |
| 205 | wave_2_per_point11=yd = .25 + .25*sin(ti*t8); |
| 206 | wave_2_per_point12= |
| 207 | wave_2_per_point13= |
| 208 | wave_2_per_point14=it = (it + 1)*above(sample,0); |
| 209 | wave_2_per_point15=sw = (1-sw)*above(sample,0); |
| 210 | wave_2_per_point16= |
| 211 | wave_2_per_point17=sa = 1-sample; |
| 212 | wave_2_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 213 | wave_2_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 214 | wave_2_per_point20= |
| 215 | wave_2_per_point21=y = .5 - y*(.5-x)*2; |
| 216 | wave_2_per_point22= |
| 217 | wave_2_per_point23=ti = q4 + 4.1888; |
| 218 | wave_2_per_point24=r = .5 + .5*sin(ti); |
| 219 | wave_2_per_point25=g = .5 + .5*sin(ti + 2.0944); |
| 220 | wave_2_per_point26=b = .5 + .5*sin(ti + 4.1888); |
| 221 | wave_2_per_point27=a = q7; |
| 222 | wavecode_3_enabled=0 |
| 223 | wavecode_3_samples=512 |
| 224 | wavecode_3_sep=0 |
| 225 | wavecode_3_bSpectrum=0 |
| 226 | wavecode_3_bUseDots=0 |
| 227 | wavecode_3_bDrawThick=0 |
| 228 | wavecode_3_bAdditive=0 |
| 229 | wavecode_3_scaling=1.00000 |
| 230 | wavecode_3_smoothing=0.50000 |
| 231 | wavecode_3_r=1.000 |
| 232 | wavecode_3_g=1.000 |
| 233 | wavecode_3_b=1.000 |
| 234 | wavecode_3_a=1.000 |
| 235 | shapecode_0_enabled=1 |
| 236 | shapecode_0_sides=4 |
| 237 | shapecode_0_additive=0 |
| 238 | shapecode_0_thickOutline=0 |
| 239 | shapecode_0_textured=1 |
| 240 | shapecode_0_num_inst=1 |
| 241 | shapecode_0_x=0.500 |
| 242 | shapecode_0_y=0.500 |
| 243 | shapecode_0_rad=1.97883 |
| 244 | shapecode_0_ang=0.00000 |
| 245 | shapecode_0_tex_ang=0.00000 |
| 246 | shapecode_0_tex_zoom=1.00000 |
| 247 | shapecode_0_r=1.000 |
| 248 | shapecode_0_g=1.000 |
| 249 | shapecode_0_b=1.000 |
| 250 | shapecode_0_a=1.000 |
| 251 | shapecode_0_r2=1.000 |
| 252 | shapecode_0_g2=1.000 |
| 253 | shapecode_0_b2=1.000 |
| 254 | shapecode_0_a2=1.000 |
| 255 | shapecode_0_border_r=1.000 |
| 256 | shapecode_0_border_g=1.000 |
| 257 | shapecode_0_border_b=1.000 |
| 258 | shapecode_0_border_a=0.000 |
| 259 | shape_0_per_frame1=tex_zoom = 1/rad; |
| 260 | shape_0_per_frame2= |
| 261 | shape_0_per_frame3=a = .7; |
| 262 | shape_0_per_frame4=a2 = a; |
| 263 | shapecode_1_enabled=0 |
| 264 | shapecode_1_sides=54 |
| 265 | shapecode_1_additive=0 |
| 266 | shapecode_1_thickOutline=0 |
| 267 | shapecode_1_textured=0 |
| 268 | shapecode_1_num_inst=1 |
| 269 | shapecode_1_x=0.150 |
| 270 | shapecode_1_y=0.390 |
| 271 | shapecode_1_rad=0.04084 |
| 272 | shapecode_1_ang=0.00000 |
| 273 | shapecode_1_tex_ang=0.00000 |
| 274 | shapecode_1_tex_zoom=1.00000 |
| 275 | shapecode_1_r=0.000 |
| 276 | shapecode_1_g=0.000 |
| 277 | shapecode_1_b=1.000 |
| 278 | shapecode_1_a=1.000 |
| 279 | shapecode_1_r2=1.000 |
| 280 | shapecode_1_g2=0.000 |
| 281 | shapecode_1_b2=0.000 |
| 282 | shapecode_1_a2=0.000 |
| 283 | shapecode_1_border_r=1.000 |
| 284 | shapecode_1_border_g=1.000 |
| 285 | shapecode_1_border_b=1.000 |
| 286 | shapecode_1_border_a=0.100 |
| 287 | shapecode_2_enabled=0 |
| 288 | shapecode_2_sides=4 |
| 289 | shapecode_2_additive=0 |
| 290 | shapecode_2_thickOutline=0 |
| 291 | shapecode_2_textured=0 |
| 292 | shapecode_2_num_inst=1 |
| 293 | shapecode_2_x=0.500 |
| 294 | shapecode_2_y=0.500 |
| 295 | shapecode_2_rad=0.10000 |
| 296 | shapecode_2_ang=0.00000 |
| 297 | shapecode_2_tex_ang=0.00000 |
| 298 | shapecode_2_tex_zoom=1.00000 |
| 299 | shapecode_2_r=1.000 |
| 300 | shapecode_2_g=0.000 |
| 301 | shapecode_2_b=0.000 |
| 302 | shapecode_2_a=1.000 |
| 303 | shapecode_2_r2=0.000 |
| 304 | shapecode_2_g2=1.000 |
| 305 | shapecode_2_b2=0.000 |
| 306 | shapecode_2_a2=0.000 |
| 307 | shapecode_2_border_r=1.000 |
| 308 | shapecode_2_border_g=1.000 |
| 309 | shapecode_2_border_b=1.000 |
| 310 | shapecode_2_border_a=0.100 |
| 311 | shapecode_3_enabled=0 |
| 312 | shapecode_3_sides=4 |
| 313 | shapecode_3_additive=0 |
| 314 | shapecode_3_thickOutline=0 |
| 315 | shapecode_3_textured=0 |
| 316 | shapecode_3_num_inst=1 |
| 317 | shapecode_3_x=0.500 |
| 318 | shapecode_3_y=0.500 |
| 319 | shapecode_3_rad=0.10000 |
| 320 | shapecode_3_ang=0.00000 |
| 321 | shapecode_3_tex_ang=0.00000 |
| 322 | shapecode_3_tex_zoom=1.00000 |
| 323 | shapecode_3_r=1.000 |
| 324 | shapecode_3_g=0.000 |
| 325 | shapecode_3_b=0.000 |
| 326 | shapecode_3_a=1.000 |
| 327 | shapecode_3_r2=0.000 |
| 328 | shapecode_3_g2=1.000 |
| 329 | shapecode_3_b2=0.000 |
| 330 | shapecode_3_a2=0.000 |
| 331 | shapecode_3_border_r=1.000 |
| 332 | shapecode_3_border_g=1.000 |
| 333 | shapecode_3_border_b=1.000 |
| 334 | shapecode_3_border_a=0.100 |
| 335 | per_frame_1=chng=sin(time*.5); |
| 336 | per_frame_2=cthr=.9999; |
| 337 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 338 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 339 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 340 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 341 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 342 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 343 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 344 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 345 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 346 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 347 | per_frame_13=monitor=chng; |
| 348 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 349 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 350 | per_frame_16= |
| 351 | per_frame_17=monitor=mq1; |
| 352 | per_frame_18=vol=bass+treb+mid; |
| 353 | per_frame_19=atime=atime+vol; |
| 354 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 355 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 356 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 357 | per_frame_23=monitor=q13; |
| 358 | per_frame_24= |
| 359 | per_frame_25=bl = 3.8; |
| 360 | per_frame_26=ul = 7.9; |
| 361 | per_frame_27=rate = 11.9; |
| 362 | per_frame_28=cha = .01; |
| 363 | per_frame_29= |
| 364 | per_frame_30=gv = if(above(gv,bl), if(below(gv,ul), if(above(fps,rate),gv + cha,gv - cha), ul-.1),bl+.1); |
| 365 | per_frame_31= |
| 366 | per_frame_32= |
| 367 | per_frame_33= |
| 368 | per_frame_34=monitor = gv; |
| 369 | per_frame_35= |
| 370 | per_frame_36=wave_a = 0; |
| 371 | per_frame_37= |
| 372 | per_frame_38=tic = min(time - tin,1); |
| 373 | per_frame_39=tin = time; |
| 374 | per_frame_40= |
| 375 | per_frame_41=ra = 10; |
| 376 | per_frame_42= |
| 377 | per_frame_43= |
| 378 | per_frame_44=treb_avg = tic*(treb_avg*(1/tic - ra) + ra*treb); |
| 379 | per_frame_45=mid_avg = tic*(mid_avg*(1/tic - ra) + ra*mid); |
| 380 | per_frame_46=bass_avg = tic*(bass_avg*(1/tic - ra) + ra*bass); |
| 381 | per_frame_47= |
| 382 | per_frame_48=rb = 1; |
| 383 | per_frame_49=vav = tic*(vav*(1/tic - rb) + rb*(bass+treb+mid)*.33333); |
| 384 | per_frame_50=q1 = treb_avg; |
| 385 | per_frame_51=q2 = mid_avg; |
| 386 | per_frame_52=q3 = bass_avg; |
| 387 | per_frame_53= |
| 388 | per_frame_54=db = bass - bass_avg; |
| 389 | per_frame_55= |
| 390 | per_frame_56=it = (it + tic)*below(it,1); |
| 391 | per_frame_57= |
| 392 | per_frame_58=rb = .5*(1/tic); |
| 393 | per_frame_59=bvb = tic*(bass*rb + (1/tic-rb)*bvb); |
| 394 | per_frame_60=bd = bass - bvb; |
| 395 | per_frame_61= |
| 396 | per_frame_62=vm = vm - tic + swi; |
| 397 | per_frame_63=swi = above(bd - vm,0); |
| 398 | per_frame_64= |
| 399 | per_frame_65=q4 = 1-swi; |
| 400 | per_frame_66= |
| 401 | per_frame_67=cm = if(above(iter,30) + equal(time,0),int(rand(3)) + 1,cm); |
| 402 | per_frame_68=iter = (iter + tic)*(1-above(iter,30)); |
| 403 | per_frame_69=q5 = if(equal(cm,0),3,cm); |
| 404 | per_frame_70= |
| 405 | per_frame_71=cma = if(above(itar,5) + equal(time,0),int(vav*5),cma); |
| 406 | per_frame_72=itar = (itar + tic)*(1-above(itar,5)); |
| 407 | per_frame_73= |
| 408 | per_frame_74=q6 = int(vav*5); |
| 409 | per_frame_75= |
| 410 | per_frame_76= |
| 411 | per_frame_77=decay=0.97; |
| 412 | per_frame_78=zoom=1.01; |
| 413 | per_frame_79=sx=1;sy=1; |
| 414 | per_pixel_1=warp = bass; |
| 415 | warp_1=`shader_body |
| 416 | warp_2=`{ |
| 417 | warp_3=` // sample previous frame |
| 418 | warp_4=` ret.xyz = tex2D( sampler_main, uv ).xyz; |
| 419 | warp_5=` |
| 420 | warp_6=` // take the difference between the crisp and blurred images, |
| 421 | warp_7=` // then add it back into the image. Creates spots and stripes over time. |
| 422 | warp_8=` ret.xyz += (ret.xyz - GetBlur2(uv))*0.3; |
| 423 | warp_9=` ret.xyz *= 0.9; |
| 424 | warp_10=` |
| 425 | warp_11=` // add noise: |
| 426 | warp_12=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 0.4 + rand_frame.xy; |
| 427 | warp_13=` ret.xyz += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0 * 122 * saturate(treb_att-1); |
| 428 | warp_14=` |
| 429 | warp_15=` // desaturate over time, to keep the globs white |
| 430 | warp_16=` ret.xyz = lerp(ret.xyz, lum(ret.xyz), 0.2); |
| 431 | warp_17=` |
| 432 | warp_18=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 433 | warp_19=` ((uv.xyy*q27 |
| 434 | warp_20=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 435 | warp_21=` ).xyz* |
| 436 | warp_22=` float3(1,1,0)*0.05 + |
| 437 | warp_23=` time*float3(0,0,1)*q29 |
| 438 | warp_24=` ); |
| 439 | warp_25=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y -= (noise9).x*.5; |
| 440 | warp_26=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z -= (noise9).y*.5; |
| 441 | warp_27=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x -= (noise9).z*.5; |
| 442 | warp_28=`} |
| 443 | comp_1=`float3 ret1, neu, blur; |
| 444 | comp_2=` |
| 445 | comp_3=`shader_body |
| 446 | comp_4=`{ |
| 447 | comp_5=`float2 uv2; |
| 448 | comp_6=`float ang2, c, s; |
| 449 | comp_7=`uv -= 0.5; |
| 450 | comp_8=`uv *= aspect.xy; |
| 451 | comp_9=` |
| 452 | comp_10=`float2 tmp = uv; |
| 453 | comp_11=`ret1 = 0; |
| 454 | comp_12=`int anz = 5; |
| 455 | comp_13=`int n = 0; |
| 456 | comp_14=`while (n <= anz) { |
| 457 | comp_15=` ang2 = 6.28*n/anz; |
| 458 | comp_16=` c = cos(ang2); |
| 459 | comp_17=` s = sin(ang2); |
| 460 | comp_18=` uv2.x = uv.x*c - uv.y*s; |
| 461 | comp_19=` uv2.y = uv.x*s + uv.y*c; |
| 462 | comp_20=` neu = GetPixel (uv2 + 0.4 + .02*q27 ); |
| 463 | comp_21=` blur= GetBlur1 (uv2 + 0.4 + .02*q27 ); |
| 464 | comp_22=` ret1 = max(ret1, neu+blur*2); |
| 465 | comp_23=`n++; |
| 466 | comp_24=`} |
| 467 | comp_25=` |
| 468 | comp_26=` |
| 469 | comp_27=`// I think this bit's from ORB |
| 470 | comp_28=`ret = (ret1-0.0125)*0.7; |
| 471 | comp_29=` float3 retish = 1 - ret*(1-ret)*4; //solarize |
| 472 | comp_30=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 473 | comp_31=` ((uv.xyy*q28 |
| 474 | comp_32=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 475 | comp_33=` ).xyz* |
| 476 | comp_34=` float3(1,1,0)*0.05 + |
| 477 | comp_35=` time*float3(0,0,1)*q31 |
| 478 | comp_36=` ); |
| 479 | comp_37=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 480 | comp_38=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 481 | comp_39=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 482 | comp_40=` ret = float3(retish[0]*0.5,retish[1]*0.5,retish[2]); |
| 483 | comp_41=` ret *= 0.5; |
| 484 | comp_42=` |
| 485 | comp_43=` |
| 486 | comp_44=`} |